home *** CD-ROM | disk | FTP | other *** search
/ Your Mobile: Alcatel / Alcatel 2005.iso / Data Connection Wizard v1.30 / setup.exe / setup.msi / Data1.cab / epm.h < prev    next >
Encoding:
C/C++ Source or Header  |  2003-01-20  |  28.0 KB  |  929 lines

  1. //
  2. // Ericsson Mobile Phone SDK
  3. // Copyright (C) 2000 Ericsson Mobile Communications AB
  4. // All rights reserved.
  5. //
  6. // This file is a part of Ericsson Mobile Phone SDK. 
  7. // The code and information is provided "as-is" without
  8. // warranty of any kind, either expressed or implied.
  9. //
  10. //
  11. //
  12. // Description:
  13. // C++ header file for the Ericsson Mobile Phone Monitor.
  14. //
  15. //
  16.  
  17. // Ericsson Phone Monitor Error/Status Codes:
  18. #ifndef ERROR_SUCCESS
  19.     #define ERROR_SUCCESS                    0x00000000    // The last command could be processed successfuly.
  20. #endif
  21.  
  22. #define ERROR_DEVICE_UNAVAILABLE            0xFFFFFFFF    // The last command could not be processed because the mobile phone was busy processing a previously submitted command.
  23. #define ERROR_DEVICE_DISABLED                0x88880000    // The requested operation is not available because the mobile phone is used by a non-Phone Monitor application.
  24. #define ERROR_DEVICE_LOCKED                    0x88880001    // The requested operation failed because an application has exclusive ownership of the communication channel to
  25.                                                         // the mobile phone. For example, an attempt to initialize an OBEX session will fail with this error code, while
  26.                                                         // the communication channel is locked.
  27. #define ERROR_OBEX_MODE                        0x88880002    // The operation is not available because the mobile phone is currently running an OBEX session.
  28. #define ERROR_BAD_POINTER                    0x88880003    // A pointer [in]-parameter points to unreadable memory.
  29. #define ERROR_BAD_HANDLE                    0x88880004    // Internal.
  30. #define ERROR_OBEX_NOT_INITIALIZED            0x88880005    // An OBEX request was issued prior to successful OBEX initialization.
  31. #define ERROR_EXISTING_HANDLE                0x88880006     // Internal.
  32. #define ERROR_DRIVER_NOT_AVAILABLE            0x88880007     // Internal.
  33. #define ERROR_WRITE_FAILED                    0x88880008    // Internal (obsolete).
  34. #define ERROR_REGISTRY_NOT_AVAILABLE        0x88880009    // Internal.
  35. #define ERROR_UNKNOWN_DEVICE                0x8888000A    // Internal (obsolete).
  36. #define ERROR_DEVICE_NOT_REGISTERED            0x8888000B    // Internal (obsolete).
  37. #define ERROR_COMEXTENSION_NOT_LOADED        0x8888000C    // Internal.
  38. #define ERROR_PHONEEXTENSION_NOT_LOADED        0x8888000D    // Internal.
  39. #define ERROR_NETWORKEXTENSION_NOT_LOADED    0x8888000E    // Internal.
  40. #define ERROR_NOMEMORY                        0x8888000F    // Internal.
  41. #define ERROR_PORTTYPE_NOT_SUPPORTED        0x88880010    // Internal.
  42. #define ERROR_NOTSUPPORTED                    0x88880011    // The requested AT command is not supported by the mobile phone.
  43. #define ERROR_NO_PENDING_TRANSACTION        0x88880012    // Internal.
  44. #define ERROR_TRANSACTION_COMPLETE            0x88880013    // Internal.
  45. #define ERROR_TRANCEIVER                    0x88880014    // Internal.
  46. #define ERROR_OBEX_PARSER                    0x88880015    // Internal.
  47. #define ERROR_QUERYDEVICE_MISSING            0x88880016    // Internal (obsolete).
  48. #define ERROR_INVALID_PORTNAME                0x88880017    // Internal (obsolete).
  49. #define ERROR_FUNCTIONS_MISSING                0x88880018    // Internal.
  50. #define ERROR_UNKNOWN_COMMAND                0x88880019    // The Phone Monitor or the mobile phone does not support the sent AT command.
  51. #define ERROR_INSUFFICIENT_RESOURCES        0x8888001A    // Failed to create a system resource. Usually an event or thread could not be created.
  52. #define ERROR_TAPI_INITIALIZE                0x8888001B    // Internal.
  53. #define ERROR_TAPILINE_NOT_FOUND            0x8888001C    // Internal.
  54. #define ERROR_TAPILINE_NOT_OPENED            0x8888001D    // Internal.
  55. #define ERROR_TAPILINE_NOT_IN_SERVICE        0x8888001E    // Internal.
  56. #define ERROR_TAPI_TIMEOUT                    0x8888001F    // Internal.
  57. #define ERROR_TAPI_NOCALL                    0x88880020     // Internal.
  58. #define ERROR_TAPI_HANDLE                    0x88880021    // Internal.
  59. #define ERROR_DRIVER_NOT_INITIALIZED        0x88880022    // The communication link failed to initialize properly. Usually this means that the device has been removed.
  60. #define ERROR_BUFFER_TOO_SMALL                0x88880023    // Internal.
  61. #define ERROR_PHONE                            0x88880024    // The phone responded with an unspecified "ERROR".
  62. #define ERROR_PHONE_CME                        0x88880025    // Internal (obsolete).
  63. #define ERROR_PHONE_CMS                        0x88880026    // Internal (obsolete).
  64. #define ERROR_RETRANSMIT                    0x88880027    // Internal.
  65. #define ERROR_NORESPONSE                    0x88880028    // The mobile phone is present but does not respond to the AT commands.
  66. #define ERROR_CONTINUE_PARSING                0x88880029    // Internal.
  67. #define ERROR_TABLE_DESCRIPTOR                0x8888002A    // Internal.
  68. #define ERROR_SETTING_NOTSUPPORTED            0x8888002B    // An AT command parameter could not be converted to a string representation because no matching string was found.
  69. #define ERROR_ASYNC_TRANSACTION                0x8888002C    // The command runs asynchronously and this is an intermediate answer, more data will come later.
  70. #define ERROR_ASYNC_TRANSACTION_COMPLETED    0x8888002D    // The command ran asynchronously and there are no more items to be delivered.
  71. #define ERROR_SAFEARRAY                        0x8888002E    // Failed to create or access an OLE-array.
  72. #define ERROR_CONNECTION                    0x8888002F    // The connection to the device was lost during communication.
  73. #define ERROR_UNKNOWN_FORMAT                0x88880030    // An AT command response could not be parsed properly.
  74. #define ERROR_EXCEPTION                        0x88880031    // Internal.
  75. #define ERROR_SIMPIN                        0x88880032    // This error is returned if the mobile phone is waiting for a PIN code to be entered.
  76. #define ERROR_SIMPUK                        0x88880033    // This error is returned if the mobile phone is waiting for a PUK code to be entered.
  77. #define ERROR_SIMPIN2                        0x88880034    // This error is returned if the mobile phone is waiting for a PIN2 code to be entered.
  78. #define ERROR_SIMPUK2                        0x88880035    // This error is returned if the mobile phone is waiting for a PUK2 code to be entered.
  79. #define ERROR_SIMPHONE                        0x88880036    // This error is returned if the mobile phone is waiting for the phone lock code to be entered.
  80. #define ERROR_SIMBLOCKED                    0x88880037    // This error is returned if the SIM is blocked because incorrect PUK code was entered several times in a row.
  81. #define ERROR_SIMMISSING                    0x88880038    // This error is returned if the mobile phone is waiting for a SIM card to be inserted.
  82. #define ERROR_ARGUMENT_MISSING                0x88880039    // Too few parameters were given to perform the AT- command.
  83. #define ERROR_INTERNAL                        0x8888003A    // Internal.
  84.  
  85. #define ERROR_NETOP_PIN                        0x88880046
  86. #define ERROR_NETOP_PUK                        0x88880047
  87. #define ERROR_NETSUB_PIN                    0x88880048
  88. #define ERROR_NETSUB_PUK                    0x88880049
  89. #define ERROR_SP_PIN                        0x8888004A
  90. #define ERROR_SP_PUK                        0x8888004B
  91. #define ERROR_CORP_PIN                        0x8888004C
  92. #define ERROR_COPR_PUK                        0x8888004D
  93. #define ERROR_SIM_READY                        0x8888004E
  94.  
  95.  
  96. // IMPORTAMT NOTE: All the comments in the codes are moved from the SDK to this file. In the SDK they are marked as Internal codes.
  97.  
  98.  
  99. #define CME_PHONE                            0x88880064    // Phone failure.
  100. #define CME_CONNECTION                        0x88880065    // No contact with the phone.
  101. #define CME_LINK                            0x88880066    // Phone-adaptor link reserved.
  102. #define CME_NOT_ALLOWED                        0x88880067    // Operation not allowed.
  103. #define CME_NOT_SUPPORTED                    0x88880068    // Operation not supported.
  104. #define CME_SIM_PHONE                        0x88880069    // PH-SIM PIN required.
  105. #define CME_FSIM_PHONE                        0x8888006A    // PH-FSIM PIN required.
  106. #define CME_FPUK_PHONE                        0x8888006B    // PH-FSIM PUK required.
  107. #define CME_NOSIM                            0x8888006E    // SIM card not inserted.
  108. #define CME_PIN                                0x8888006F    // SIM card pin code required.
  109. #define CME_PUK                                0x88880070    // SIM card PUK required
  110. #define CME_SIM_FAILURE                        0x88880071    // SIM failure
  111. #define CME_SIM_BUSY                        0x88880072    // SIM card busy.
  112. #define CME_SIM_WRONG                        0x88880073    // SIM card wrong.
  113. #define CME_WRONG_PASSWORD                    0x88880074    // Incorrect password.
  114. #define CME_PIN2                            0x88880075    // SIM card PIN2 required.
  115. #define CME_PUK2                            0x88880076    // SIM card PUK2 required.
  116. #define CME_MEMORY_FULL                        0x88880078    // Memory full.
  117. #define CME_INVALID_INDEX                    0x88880079    // Invalid index.
  118. #define CME_NOT_FOUND                        0x8888007A    // Not found.
  119. #define CME_MEMORY_FAILURE                    0x8888007B    // Memory failure.
  120. #define CME_STRING_TOO_LONG                    0x8888007C    // Text string too long.
  121. #define CME_INVALID_STRING                    0x8888007D    // Invalid characters in text string.
  122. #define CME_DIALSTRING_TOO_LONG                0x8888007E    // Dial string too long.
  123. #define CME_INVALID_DIALSTRING                0x8888007F    // Invalid characters in dial string.
  124. #define CME_NETWORK_DOWN                    0x88880082    // No network service.
  125. #define CME_NETWORK_TIMEOUT                    0x88880083    // Network timeout.
  126. #define CME_EMERGENCY_CALLS_ONLY            0x88880084    //network not allowed emergency calls only
  127. #define CME_NETWORK_PINCODE_REQUIRED        0x8888008C    //network personalisation PIN required
  128. #define CME_NETWORK_PUK_REQUIRED            0x8888008D    //network personalisation PUK required
  129. #define CME_NETWORK_SUBSET_PIN_REQUIRED        0x8888008E    //network subset personalisation PIN required
  130. #define CME_NETWORK_SUBSET_PUK_REQUIRED        0x8888008F    //network subset personalisation PUK required
  131. #define CME_SERVICE_PROVIDER PIN_REQUIRED    0x88880090    //service provider personalisation PIN required
  132. #define CME_SERVICE_PROVIDER_PUK_REQUIRED    0x88880091    //service provider personalisation PUK required
  133. #define CME_CORPORATE_PIN_REQUIRED            0x88880092    //corporate personalisation PIN required
  134. #define CME_CORPORATE_PUK_REQUIRED            0x88880093    //corporate personalisation PUK required                
  135.  
  136. #define CME_UNEXPECTED                        0x888800C8    // Unknown.
  137.  
  138. #define CME_ILLEGAL_MS                        0x888800CB  //illegal phone
  139. #define CME_ILLEGAL_ME                        0x888800CE   //illegal accessory
  140. #define CME_GPRS_SERVICE_NOT_ALLOWED        0x888800CF  //GPRS service not allowed
  141. #define CME_PLMN_NOT_ALLOWED                0x888800D3  //Public Land Mobile Network not allowed
  142. #define CME_LOCATION_AREA_NOT_ALLOWED        0x888800D4  //Location area not allowed
  143. #define CME_ROAMING_IN_AREA_NOT_ALLOWED        0x888800D5  //roaming in location area not allowed
  144. #define CME_UNSUPPORTED_SERVICE_OPTION        0x888800E8  //Service option not supported
  145. #define CME_UNSUBSCRIBED_SERVICE_OPTION_REQ    0x888800E9  //Requested service option not subscribed
  146. #define CME_SERVICE_OPTION_TEMP_OUT            0x888800EA  //Service option temporarily out of order
  147. #define CME_GPRS_ERROR_UNSPECIFIED            0x888800F8  //Unspecified GPRS error
  148. #define CME_PDP_AUTHENTICATION_FAILURE        0x888800F9  //Packet Data Protocol authentication failure
  149. #define CME_INVALID_MOBILE_CLASS            0x888800FA  //Invalid mobile class
  150.  
  151. #define CME_BUSY_SEARCH_CURRENT_OPERATOR    0x88880164    //busy, in search of current operator
  152.  
  153. //Report operation/access failure
  154.  
  155. #define CMS_PHONE                            0x88880190    //phone failure
  156. #define CMS_SMS_RESERVED                    0x88880191    //Short message service of mobile phone reserved
  157. #define CMS_NOT_ALLOWED                        0x88880192    //operation not allowed
  158. #define CMS_NOT_SUPPORTED                    0x88880193    //operation not supported
  159. #define CMS_INVALID_PDU_MODE_PARAM            0x88880194    //invalid Protocol Data Unit mode parameter
  160. #define CMS_INVALID_TEXT_MODE_PARAM            0x88880195    //invalid text mode parameter
  161. #define CMS_NOSIM                            0x8888019A    //SIM not inserted
  162. #define CMS_PIN                                0x8888019B    //SIM PIN required
  163. #define CMS_SIM_PHONE                        0x8888019C    //PH-SIM PIN required
  164. #define CMS_SIM_FAILURE                        0x8888019D    //SIM failure
  165. #define CMS_SIM_BUSY                        0x8888019E    //SIM busy
  166. #define CMS_SIM_WRONG                        0x8888019F    //SIM wrong
  167. #define CMS_PUK                                0x888801A0    //SIM PUK required
  168. #define CMS_PIN2                            0x888801A1    //SIM PIN2 required
  169. #define CMS_PUK2                            0x888801A2    //SIM PUK2 required
  170. #define CMS_MEMORY_FAILURE                    0x888801A4    //memory failure
  171. #define CMS_INVALID_INDEX                    0x888801A5    //Invalid memory index
  172. #define CMS_MEMORY_FULL                        0x888801A6    //memory full
  173. #define CMS_SMSC_ADDRESS_UNKNOWN            0x888801AE    //Short message service center address unknown
  174. #define CMS_NETWORK_DOWN                    0x888801AF    //no network service
  175. #define CMS_NETWORK_TIMEOUT                    0x888801B0    //network timeout 
  176. #define CMS_NO_ACKNOWLEDGEMENT_EXPECTED        0x888801B8    //No reception confirmation of a new message expected
  177. #define CMS_UNEXPECTED                        0x88880258    //Unknown
  178.  
  179. //Manufacturer specific ERROR codes
  180.  
  181. #define    CME_ATC_BUSY                        0x88880265    //device busy processing AT command on other channel
  182.  
  183.  
  184.  
  185. // Notes: for optimal build, excluded one or several of the following objects 
  186. // 
  187. // define EPM_NO_SETTINGS to exclude settings object
  188. // define EPM_NO_PHONEBOOK to exclude phonebook object
  189. // define EPM_NO_SMS to exclude SMS object
  190. // define EPM_NO_STATUS to exclude status object
  191. // define EPM_NO_CELLPHONE to exclude cellphone object
  192. // define EPM_NO_OBEXSYNCREQ to exclude obexsyncreq_object
  193. //
  194.  
  195. // Exclude identifiers already defined
  196. // Don't add "raw_" to method names
  197. // Don't map to DTC smart types
  198. // Don't wrap in C++ namespace (extern "C" and namespace bug see
  199. // BUG ID: Q140357: No Warning Using Extern "C" in a Namespace 
  200. // Provide named GUID's and declspecs
  201. #import "epmworker.exe" \
  202.     exclude("tagSAFEARRAYBOUND", \
  203.     "tagSAFEARRAY"), \
  204.     raw_interfaces_only, \
  205.     raw_native_types, \
  206.     no_namespace, \
  207. named_guids
  208.  
  209. #ifndef EPM_NO_SETTINGS
  210.     #import "settings_object.dll" \
  211.         rename("DB_CREATE_ALWAYS","DB_CREATE_ALWAYS_settings"), \
  212.         rename("DB_OPEN_EXISTING","DB_OPEN_EXISTING_settings"), \
  213.         exclude("eCREATION_DISPOSITION", \
  214.         "_MPMCommands", \
  215.         "TransitionMode", \
  216.         "IconType", \
  217.         "ColorMode", \
  218.         "KeypadControl", \
  219.         "WriteDisplay", \
  220.         "IndicatorControl", \
  221.         "ResetType", \
  222.         "CMDAttributes", \
  223.         "CreditCard", \
  224.         "SetActiveState", \
  225.         "FlipAnswerMode", \
  226.         "VoiceControlPlayback", \
  227.         "VoiceRecognition", \
  228.         "VoiceTAGIndex", \
  229.         "CallType", \
  230.         "LineType", \
  231.         "VoiceMailNbType", \
  232.         "PhoneNumberType", \
  233.         "MessageFormat", \
  234.         "SMSMessageStorage", \
  235.         "AccessoryID", \
  236.         "WAPGateWay", \
  237.         "WAPBearer", \
  238.         "PDPDataComp", \
  239.         "PDPHeaderComp", \
  240.         "PDPModeType", \
  241.         "PDPBufferType", \
  242.         "QoSPrecedenceType", \
  243.         "QoSPeakType", \
  244.         "QoSMeanType", \
  245.         "GPRSNWEnableDisable", \
  246.         "MOSMSMessageService", \
  247.         "CallDivReason", \
  248.         "CreditCardEnum", \
  249.         "SendOrder", \
  250.         "CallLineRestriction", \
  251.         "PlaceType", \
  252.         "BackLightMode", \
  253.         "SoundLineType", \
  254.         "GreetingMode", \
  255.         "AnswerMode", \
  256.         "AirInterface", \
  257.         "Timeslots", \
  258.         "TopValue", \
  259.         "ChannelCoding", \
  260.         "CharFontSize", \
  261.         "MELanguage", \
  262.         "OperatorFormat", \
  263.         "OperatorMode", \
  264.         "NetworkProtocol", \
  265.         "SoundType", \
  266.         "RingVolume", \
  267.         "PlaybackVolume", \
  268.         "KeySound", \
  269.         "AlertSound", \
  270.         "MessageType", \
  271.         "AlarmType", \
  272.         "VibratorMode", \
  273.         "DateFormat", \
  274.         "TimeFormat", \
  275.         "DayLightSaveTime", \
  276.         "MPMCommands", \
  277.         "KeyLockMode", \
  278.         "KeyLockType", \
  279.         "IVersion", \
  280.         "AddressBookType", \
  281.         "ICAPIGeneral", \
  282.         "ICellPhone", \
  283.         "IStatus", \
  284.         "IEPOC", \
  285.         "IObex", \
  286.         "IObex2", \
  287.         "IPhoneBook", \
  288.         "IPhoneBookRecord", \
  289.         "IVoiceControl", \
  290.         "IDataBase", \
  291.         "ICellPhoneInformation", \
  292.         "IDataHandler", \
  293.         "IDataHandler2", \
  294.         "ITime_Date", \
  295.         "IStatus_Setting", \
  296.         "ISounds_Alerts", \
  297.         "INetworks", \
  298.         "IMMI_Settings", \
  299.         "IMetering", \
  300.         "IHSCSD", \
  301.         "IHandsfree", \
  302.         "IDisplay", \
  303.         "ICallingCard", \
  304.         "ICall_Options", \
  305.         "IAccessories", \
  306.         "IGPRS", \
  307.         "ISMSSettings", \
  308.         "IProfiles", \
  309.         "ILocks", \
  310.         "IWapServices", \
  311.         "IGeneralSettings", \
  312.         "IDataAdviseSink", \
  313.         "ICellPhone2", \
  314.         "ICellPhone3", \
  315.         "ISMS", \
  316.         "IShortMessage", \
  317.         "SMSStorageType", \
  318.         "SMSStatusType", \
  319.         "ISyncRequest",\
  320.         "VoiceControlHandsfree",\
  321.         "ICallingCard2",\
  322.         "IMetering2",\
  323.         "INetworks2",\
  324.         "ISMSSettings2",\
  325.         "IWAPServices2") \
  326.     raw_interfaces_only, raw_native_types , named_guids, no_implementation, no_namespace
  327. #endif
  328.  
  329. /*#ifndef EPM_NO_PHONEBOOK
  330.     #import "phonebook_object.dll" \
  331.         rename("DB_CREATE_ALWAYS","DB_CREATE_ALWAYS_phonebook"), \
  332.         rename("DB_OPEN_EXISTING","DB_OPEN_EXISTING_phonebook"), \
  333.         exclude("eCREATION_DISPOSITION", \
  334.         "_MPMCommands", \
  335.         "TransitionMode", \
  336.         "IconType", \
  337.         "ColorMode", \
  338.         "KeypadControl", \
  339.         "WriteDisplay", \
  340.         "IndicatorControl", \
  341.         "ResetType", \
  342.         "CMDAttributes", \
  343.         "CreditCard", \
  344.         "SetActiveState", \
  345.         "FlipAnswerMode", \
  346.         "VoiceControlPlayback", \
  347.         "VoiceRecognition", \
  348.         "VoiceTAGIndex", \
  349.         "CallType", \
  350.         "LineType", \
  351.         "VoiceMailNbType", \
  352.         "PhoneNumberType", \
  353.         "MessageFormat", \
  354.         "SMSMessageStorage", \
  355.         "AccessoryID", \
  356.         "WAPGateWay", \
  357.         "WAPBearer", \
  358.         "PDPDataComp", \
  359.         "PDPHeaderComp", \
  360.         "PDPModeType", \
  361.         "PDPBufferType", \
  362.         "QoSPrecedenceType", \
  363.         "QoSPeakType", \
  364.         "QoSMeanType", \
  365.         "GPRSNWEnableDisable", \
  366.         "MOSMSMessageService", \
  367.         "CallDivReason", \
  368.         "CreditCardEnum", \
  369.         "SendOrder", \
  370.         "CallLineRestriction", \
  371.         "PlaceType", \
  372.         "BackLightMode", \
  373.         "SoundLineType", \
  374.         "GreetingMode", \
  375.         "AnswerMode", \
  376.         "AirInterface", \
  377.         "Timeslots", \
  378.         "TopValue", \
  379.         "ChannelCoding", \
  380.         "CharFontSize", \
  381.         "MELanguage", \
  382.         "OperatorFormat", \
  383.         "OperatorMode", \
  384.         "NetworkProtocol", \
  385.         "SoundType", \
  386.         "RingVolume", \
  387.         "PlaybackVolume", \
  388.         "KeySound", \
  389.         "AlertSound", \
  390.         "MessageType", \
  391.         "AlarmType", \
  392.         "VibratorMode", \
  393.         "DateFormat", \
  394.         "TimeFormat", \
  395.         "DayLightSaveTime", \
  396.         "MPMCommands", \
  397.         "KeyLockMode", \
  398.         "KeyLockType", \
  399.         "IVersion", \
  400.         "AddressBookType", \
  401.         "ICAPIGeneral", \
  402.         "ICellPhone", \
  403.         "IStatus", \
  404.         "IEPOC", \
  405.         "IObex", \
  406.         "IObex2", \
  407.         "IPhoneBook", \
  408.         "IPhoneBookRecord", \
  409.         "IVoiceControl", \
  410.         "IDataBase", \
  411.         "ICellPhoneInformation", \
  412.         "IDataHandler", \
  413.         "IDataHandler2", \
  414.         "ITime_Date", \
  415.         "IStatus_Setting", \
  416.         "ISounds_Alerts", \
  417.         "INetworks", \
  418.         "IMMI_Settings", \
  419.         "IMetering", \
  420.         "IHSCSD", \
  421.         "IHandsfree", \
  422.         "IDisplay", \
  423.         "ICallingCard", \
  424.         "ICall_Options", \
  425.         "IAccessories", \
  426.         "IGPRS", \
  427.         "ISMSSettings", \
  428.         "IProfiles", \
  429.         "ILocks", \
  430.         "IWapServices", \
  431.         "IGeneralSettings", \
  432.         "IDataAdviseSink", \
  433.         "ICellPhone2", \
  434.         "ICellPhone3", \
  435.         "ISMS", \
  436.         "IShortMessage", \
  437.         "SMSStorageType", \
  438.         "SMSStatusType", \
  439.         "ISyncRequest",\
  440.         "VoiceControlHandsfree",\
  441.         "ICallingCard2",\
  442.         "IMetering2",\
  443.         "INetworks2",\
  444.         "ISMSSettings2",\
  445.         "IWAPServices2") \
  446.     raw_interfaces_only, raw_native_types , named_guids, no_implementation, no_namespace
  447. #endif
  448.  
  449. #ifndef EPM_NO_SMS
  450.     #import "sms_object.dll" \
  451.         rename("DB_CREATE_ALWAYS","DB_CREATE_ALWAYS_sms"), \
  452.         rename("DB_OPEN_EXISTING","DB_OPEN_EXISTING_sms"), \
  453.         exclude("eCREATION_DISPOSITION", \
  454.         "_MPMCommands", \
  455.         "TransitionMode", \
  456.         "IconType", \
  457.         "ColorMode", \
  458.         "KeypadControl", \
  459.         "WriteDisplay", \
  460.         "IndicatorControl", \
  461.         "ResetType", \
  462.         "CMDAttributes", \
  463.         "CreditCard", \
  464.         "SetActiveState", \
  465.         "FlipAnswerMode", \
  466.         "VoiceControlPlayback", \
  467.         "VoiceRecognition", \
  468.         "VoiceTAGIndex", \
  469.         "CallType", \
  470.         "LineType", \
  471.         "VoiceMailNbType", \
  472.         "PhoneNumberType", \
  473.         "MessageFormat", \
  474.         "SMSMessageStorage", \
  475.         "AccessoryID", \
  476.         "WAPGateWay", \
  477.         "WAPBearer", \
  478.         "PDPDataComp", \
  479.         "PDPHeaderComp", \
  480.         "PDPModeType", \
  481.         "PDPBufferType", \
  482.         "QoSPrecedenceType", \
  483.         "QoSPeakType", \
  484.         "QoSMeanType", \
  485.         "GPRSNWEnableDisable", \
  486.         "MOSMSMessageService", \
  487.         "CallDivReason", \
  488.         "CreditCardEnum", \
  489.         "SendOrder", \
  490.         "CallLineRestriction", \
  491.         "PlaceType", \
  492.         "BackLightMode", \
  493.         "SoundLineType", \
  494.         "GreetingMode", \
  495.         "AnswerMode", \
  496.         "AirInterface", \
  497.         "Timeslots", \
  498.         "TopValue", \
  499.         "ChannelCoding", \
  500.         "CharFontSize", \
  501.         "MELanguage", \
  502.         "OperatorFormat", \
  503.         "OperatorMode", \
  504.         "NetworkProtocol", \
  505.         "SoundType", \
  506.         "RingVolume", \
  507.         "PlaybackVolume", \
  508.         "KeySound", \
  509.         "AlertSound", \
  510.         "MessageType", \
  511.         "AlarmType", \
  512.         "VibratorMode", \
  513.         "DateFormat", \
  514.         "TimeFormat", \
  515.         "DayLightSaveTime", \
  516.         "MPMCommands", \
  517.         "KeyLockMode", \
  518.         "KeyLockType", \
  519.         "IVersion", \
  520.         "AddressBookType", \
  521.         "ICAPIGeneral", \
  522.         "ICellPhone", \
  523.         "IStatus", \
  524.         "IEPOC", \
  525.         "IObex", \
  526.         "IObex2", \
  527.         "IPhoneBook", \
  528.         "IPhoneBookRecord", \
  529.         "IVoiceControl", \
  530.         "IDataBase", \
  531.         "ICellPhoneInformation", \
  532.         "IDataHandler", \
  533.         "IDataHandler2", \
  534.         "ITime_Date", \
  535.         "IStatus_Setting", \
  536.         "ISounds_Alerts", \
  537.         "INetworks", \
  538.         "IMMI_Settings", \
  539.         "IMetering", \
  540.         "IHSCSD", \
  541.         "IHandsfree", \
  542.         "IDisplay", \
  543.         "ICallingCard", \
  544.         "ICall_Options", \
  545.         "IAccessories", \
  546.         "IGPRS", \
  547.         "ISMSSettings", \
  548.         "IProfiles", \
  549.         "ILocks", \
  550.         "IWapServices", \
  551.         "IGeneralSettings", \
  552.         "IDataAdviseSink", \
  553.         "ICellPhone2", \
  554.         "ICellPhone3", \
  555.         "ISMS", \
  556.         "IShortMessage", \
  557.         "SMSStorageType", \
  558.         "SMSStatusType", \
  559.         "ISyncRequest",\
  560.         "VoiceControlHandsfree",\
  561.         "ICallingCard2",\
  562.         "IMetering2",\
  563.         "INetworks2",\
  564.         "ISMSSettings2",\
  565.         "IWAPServices2") \
  566.     raw_interfaces_only, raw_native_types , named_guids, no_implementation, no_namespace
  567. #endif*/
  568.  
  569. #ifndef EPM_NO_STATUS
  570.     #import "status_object.dll" \
  571.         rename("DB_CREATE_ALWAYS","DB_CREATE_ALWAYS_status"), \
  572.         rename("DB_OPEN_EXISTING","DB_OPEN_EXISTING_status"), \
  573.         exclude("eCREATION_DISPOSITION", \
  574.         "_MPMCommands", \
  575.         "TransitionMode", \
  576.         "IconType", \
  577.         "ColorMode", \
  578.         "KeypadControl", \
  579.         "WriteDisplay", \
  580.         "IndicatorControl", \
  581.         "ResetType", \
  582.         "CMDAttributes", \
  583.         "CreditCard", \
  584.         "SetActiveState", \
  585.         "FlipAnswerMode", \
  586.         "VoiceControlPlayback", \
  587.         "VoiceRecognition", \
  588.         "VoiceTAGIndex", \
  589.         "CallType", \
  590.         "LineType", \
  591.         "VoiceMailNbType", \
  592.         "PhoneNumberType", \
  593.         "MessageFormat", \
  594.         "SMSMessageStorage", \
  595.         "AccessoryID", \
  596.         "WAPGateWay", \
  597.         "WAPBearer", \
  598.         "PDPDataComp", \
  599.         "PDPHeaderComp", \
  600.         "PDPModeType", \
  601.         "PDPBufferType", \
  602.         "QoSPrecedenceType", \
  603.         "QoSPeakType", \
  604.         "QoSMeanType", \
  605.         "GPRSNWEnableDisable", \
  606.         "MOSMSMessageService", \
  607.         "CallDivReason", \
  608.         "CreditCardEnum", \
  609.         "SendOrder", \
  610.         "CallLineRestriction", \
  611.         "PlaceType", \
  612.         "BackLightMode", \
  613.         "SoundLineType", \
  614.         "GreetingMode", \
  615.         "AnswerMode", \
  616.         "AirInterface", \
  617.         "Timeslots", \
  618.         "TopValue", \
  619.         "ChannelCoding", \
  620.         "CharFontSize", \
  621.         "MELanguage", \
  622.         "OperatorFormat", \
  623.         "OperatorMode", \
  624.         "NetworkProtocol", \
  625.         "SoundType", \
  626.         "RingVolume", \
  627.         "PlaybackVolume", \
  628.         "KeySound", \
  629.         "AlertSound", \
  630.         "MessageType", \
  631.         "AlarmType", \
  632.         "VibratorMode", \
  633.         "DateFormat", \
  634.         "TimeFormat", \
  635.         "DayLightSaveTime", \
  636.         "MPMCommands", \
  637.         "KeyLockMode", \
  638.         "KeyLockType", \
  639.         "IVersion", \
  640.         "AddressBookType", \
  641.         "ICAPIGeneral", \
  642.         "ICellPhone", \
  643.         "IStatus", \
  644.         "IEPOC", \
  645.         "IObex", \
  646.         "IObex2", \
  647.         "IPhoneBook", \
  648.         "IPhoneBookRecord", \
  649.         "IVoiceControl", \
  650.         "IDataBase", \
  651.         "ICellPhoneInformation", \
  652.         "IDataHandler", \
  653.         "IDataHandler2", \
  654.         "ITime_Date", \
  655.         "IStatus_Setting", \
  656.         "ISounds_Alerts", \
  657.         "INetworks", \
  658.         "IMMI_Settings", \
  659.         "IMetering", \
  660.         "IHSCSD", \
  661.         "IHandsfree", \
  662.         "IDisplay", \
  663.         "ICallingCard", \
  664.         "ICall_Options", \
  665.         "IAccessories", \
  666.         "IGPRS", \
  667.         "ISMSSettings", \
  668.         "IProfiles", \
  669.         "ILocks", \
  670.         "IWapServices", \
  671.         "IGeneralSettings", \
  672.         "IDataAdviseSink", \
  673.         "ICellPhone2", \
  674.         "ICellPhone3", \
  675.         "ISMS", \
  676.         "IShortMessage", \
  677.         "SMSStorageType", \
  678.         "SMSStatusType", \
  679.         "ISyncRequest",\
  680.         "VoiceControlHandsfree",\
  681.         "ICallingCard2",\
  682.         "IMetering2",\
  683.         "INetworks2",\
  684.         "ISMSSettings2",\
  685.         "IWAPServices2") \
  686.     raw_interfaces_only, raw_native_types , named_guids, no_implementation, no_namespace
  687. #endif
  688.  
  689.  
  690. #ifndef EPM_NO_CELLPHONE
  691.     #import "cellphone_object.dll" \
  692.         rename("DB_CREATE_ALWAYS","DB_CREATE_ALWAYS_cellphone"), \
  693.         rename("DB_OPEN_EXISTING","DB_OPEN_EXISTING_cellphone"), \
  694.         exclude("eCREATION_DISPOSITION", \
  695.         "_MPMCommands", \
  696.         "TransitionMode", \
  697.         "IconType", \
  698.         "ColorMode", \
  699.         "KeypadControl", \
  700.         "WriteDisplay", \
  701.         "IndicatorControl", \
  702.         "ResetType", \
  703.         "CMDAttributes", \
  704.         "CreditCard", \
  705.         "SetActiveState", \
  706.         "FlipAnswerMode", \
  707.         "VoiceControlPlayback", \
  708.         "VoiceRecognition", \
  709.         "VoiceTAGIndex", \
  710.         "CallType", \
  711.         "LineType", \
  712.         "VoiceMailNbType", \
  713.         "PhoneNumberType", \
  714.         "MessageFormat", \
  715.         "SMSMessageStorage", \
  716.         "AccessoryID", \
  717.         "WAPGateWay", \
  718.         "WAPBearer", \
  719.         "PDPDataComp", \
  720.         "PDPHeaderComp", \
  721.         "PDPModeType", \
  722.         "PDPBufferType", \
  723.         "QoSPrecedenceType", \
  724.         "QoSPeakType", \
  725.         "QoSMeanType", \
  726.         "GPRSNWEnableDisable", \
  727.         "MOSMSMessageService", \
  728.         "CallDivReason", \
  729.         "CreditCardEnum", \
  730.         "SendOrder", \
  731.         "CallLineRestriction", \
  732.         "PlaceType", \
  733.         "BackLightMode", \
  734.         "SoundLineType", \
  735.         "GreetingMode", \
  736.         "AnswerMode", \
  737.         "AirInterface", \
  738.         "Timeslots", \
  739.         "TopValue", \
  740.         "ChannelCoding", \
  741.         "CharFontSize", \
  742.         "MELanguage", \
  743.         "OperatorFormat", \
  744.         "OperatorMode", \
  745.         "NetworkProtocol", \
  746.         "SoundType", \
  747.         "RingVolume", \
  748.         "PlaybackVolume", \
  749.         "KeySound", \
  750.         "AlertSound", \
  751.         "MessageType", \
  752.         "AlarmType", \
  753.         "VibratorMode", \
  754.         "DateFormat", \
  755.         "TimeFormat", \
  756.         "DayLightSaveTime", \
  757.         "MPMCommands", \
  758.         "KeyLockMode", \
  759.         "KeyLockType", \
  760.         "IVersion", \
  761.         "AddressBookType", \
  762.         "ICAPIGeneral", \
  763.         "ICellPhone", \
  764.         "IStatus", \
  765.         "IEPOC", \
  766.         "IObex", \
  767.         "IObex2", \
  768.         "IPhoneBook", \
  769.         "IPhoneBookRecord", \
  770.         "IVoiceControl", \
  771.         "IDataBase", \
  772.         "ICellPhoneInformation", \
  773.         "IDataHandler", \
  774.         "IDataHandler2", \
  775.         "ITime_Date", \
  776.         "IStatus_Setting", \
  777.         "ISounds_Alerts", \
  778.         "INetworks", \
  779.         "IMMI_Settings", \
  780.         "IMetering", \
  781.         "IHSCSD", \
  782.         "IHandsfree", \
  783.         "IDisplay", \
  784.         "ICallingCard", \
  785.         "ICall_Options", \
  786.         "IAccessories", \
  787.         "IGPRS", \
  788.         "ISMSSettings", \
  789.         "IProfiles", \
  790.         "ILocks", \
  791.         "IWapServices", \
  792.         "IGeneralSettings", \
  793.         "IDataAdviseSink", \
  794.         "ICellPhone2", \
  795.         "ICellPhone3", \
  796.         "ISMS", \
  797.         "IShortMessage", \
  798.         "SMSStorageType", \
  799.         "SMSStatusType", \
  800.         "ISyncRequest",\
  801.         "VoiceControlHandsfree",\
  802.         "ICallingCard2",\
  803.         "IMetering2",\
  804.         "INetworks2",\
  805.         "ISMSSettings2",\
  806.         "IWAPServices2") \
  807.     raw_interfaces_only, raw_native_types , named_guids, no_implementation, no_namespace
  808. #endif
  809.  
  810. #ifndef EPM_NO_OBEXSYNCREQ
  811.     #import "obexsyncreq_object.dll" \
  812.         rename("DB_CREATE_ALWAYS","DB_CREATE_ALWAYS_obexsyncreq"), \
  813.         rename("DB_OPEN_EXISTING","DB_OPEN_EXISTING_obexsyncreq"), \
  814.         exclude("eCREATION_DISPOSITION", \
  815.         "_MPMCommands", \
  816.         "TransitionMode", \
  817.         "IconType", \
  818.         "ColorMode", \
  819.         "KeypadControl", \
  820.         "WriteDisplay", \
  821.         "IndicatorControl", \
  822.         "ResetType", \
  823.         "CMDAttributes", \
  824.         "CreditCard", \
  825.         "SetActiveState", \
  826.         "FlipAnswerMode", \
  827.         "VoiceControlPlayback", \
  828.         "VoiceRecognition", \
  829.         "VoiceTAGIndex", \
  830.         "CallType", \
  831.         "LineType", \
  832.         "VoiceMailNbType", \
  833.         "PhoneNumberType", \
  834.         "MessageFormat", \
  835.         "SMSMessageStorage", \
  836.         "AccessoryID", \
  837.         "WAPGateWay", \
  838.         "WAPBearer", \
  839.         "PDPDataComp", \
  840.         "PDPHeaderComp", \
  841.         "PDPModeType", \
  842.         "PDPBufferType", \
  843.         "QoSPrecedenceType", \
  844.         "QoSPeakType", \
  845.         "QoSMeanType", \
  846.         "GPRSNWEnableDisable", \
  847.         "MOSMSMessageService", \
  848.         "CallDivReason", \
  849.         "CreditCardEnum", \
  850.         "SendOrder", \
  851.         "CallLineRestriction", \
  852.         "PlaceType", \
  853.         "BackLightMode", \
  854.         "SoundLineType", \
  855.         "GreetingMode", \
  856.         "AnswerMode", \
  857.         "AirInterface", \
  858.         "Timeslots", \
  859.         "TopValue", \
  860.         "ChannelCoding", \
  861.         "CharFontSize", \
  862.         "MELanguage", \
  863.         "OperatorFormat", \
  864.         "OperatorMode", \
  865.         "NetworkProtocol", \
  866.         "SoundType", \
  867.         "RingVolume", \
  868.         "PlaybackVolume", \
  869.         "KeySound", \
  870.         "AlertSound", \
  871.         "MessageType", \
  872.         "AlarmType", \
  873.         "VibratorMode", \
  874.         "DateFormat", \
  875.         "TimeFormat", \
  876.         "DayLightSaveTime", \
  877.         "MPMCommands", \
  878.         "KeyLockMode", \
  879.         "KeyLockType", \
  880.         "IVersion", \
  881.         "AddressBookType", \
  882.         "ICAPIGeneral", \
  883.         "ICellPhone", \
  884.         "IStatus", \
  885.         "IEPOC", \
  886.         "IObex", \
  887.         "IObex2", \
  888.         "IPhoneBook", \
  889.         "IPhoneBookRecord", \
  890.         "IVoiceControl", \
  891.         "IDataBase", \
  892.         "ICellPhoneInformation", \
  893.         "IDataHandler", \
  894.         "IDataHandler2", \
  895.         "ITime_Date", \
  896.         "IStatus_Setting", \
  897.         "ISounds_Alerts", \
  898.         "INetworks", \
  899.         "IMMI_Settings", \
  900.         "IMetering", \
  901.         "IHSCSD", \
  902.         "IHandsfree", \
  903.         "IDisplay", \
  904.         "ICallingCard", \
  905.         "ICall_Options", \
  906.         "IAccessories", \
  907.         "IGPRS", \
  908.         "ISMSSettings", \
  909.         "IProfiles", \
  910.         "ILocks", \
  911.         "IWapServices", \
  912.         "IGeneralSettings", \
  913.         "IDataAdviseSink", \
  914.         "ICellPhone2", \
  915.         "ICellPhone3", \
  916.         "ISMS", \
  917.         "IShortMessage", \
  918.         "SMSStorageType", \
  919.         "SMSStatusType", \
  920.         "ISyncRequest",\
  921.         "VoiceControlHandsfree",\
  922.         "ICallingCard2",\
  923.         "IMetering2",\
  924.         "INetworks2",\
  925.         "ISMSSettings2",\
  926.         "IWAPServices2") \
  927.     raw_interfaces_only, raw_native_types , named_guids, no_implementation, no_namespace
  928. #endif
  929.